package com.vcg.community.whitelist;

import com.vcg.community.whitelist.handle.WhiteListHandler;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author felayman
 * @since 16/1/5
 */
public class WhiteListLauncher {
    public static void main(String [] args) throws InterruptedException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring.xml");
        WhiteListHandler handler = context.getBean(WhiteListHandler.class);
        handler.task();
    }
}
